package com.dfbz.service.impl;

import com.dfbz.dao.MeetingJoinDao;
import com.dfbz.model.MeetingJoin;
import com.dfbz.service.MeetingJoinService;

import java.util.ArrayList;

public class MeetingJoinServiceImpl implements MeetingJoinService {
    MeetingJoinDao meetingJoinDao=new MeetingJoinDao();
    @Override
    public MeetingJoin findById(Integer id) {
        return meetingJoinDao.findByid(id);
    }

    @Override
    public ArrayList<MeetingJoin> findList() {
        return meetingJoinDao.findList();
    }

    @Override
    public void save(MeetingJoin meetingJoin) {
        meetingJoinDao.save(meetingJoin);
    }

    @Override
    public void deleteById(Integer id) {
        meetingJoinDao.deleteById(id);
    }

    @Override
    public void update(MeetingJoin meetingJoin) {
        meetingJoinDao.update(meetingJoin);
    }
}
